package models;

import play.data.binding.TypeBinder;

import java.lang.annotation.Annotation;
import java.lang.reflect.Type;

/**
 * Created by Gipxy group
 * Date: 3/18/12
 */
public class MyCustomStringBinder implements TypeBinder<String> {
    @Override
    public Object bind(String name, Annotation[] annotations, String value, Class actualClass, Type genericType) throws Exception {
        return "!!" + value + "!!";
    }
}
